package com.lt.accesscontrolmanager.service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import com.lt.accesscontrolmanager.domain.AccessControlDevice;

public interface AccessControlDeviceSerivce extends IService<AccessControlDevice> {


    public Page<AccessControlDevice> getDevicesByBuildingName(String buildingId, int pageNum, int pageSize);

    public void updateDeviceStatus(Long id, int status);

    public void addDevice(AccessControlDevice device);

    void updateImg(String id ,String imgUrl);
}

